package com.youlu.campus.entity.VO.req;

import com.youlu.campus.entity.UserPO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Getter
@Setter
public class ItemCheckStockReq {

    @NotBlank(message = "商品ID必传")
    private String itemId;
    @Size(min = 2,message = "商品数必须大于等于2")
    private Integer num =1;
    private UserPO currentUser;

}
